<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>同意授权</title>
    <link rel="stylesheet" th:href="@{/athena-security-oauth2/index.css}">
</head>
<body>

</body>
<div class="ui-login-main">
    <form th:action="@{/oauth2/confirm}" method="post">
        <input type="hidden" name="code" th:value="${code}">
        <div class="ui-content-box">
            <div class="ui-login-box">
                <div class="ui-from-box">
                    <div class="ui-from-item">你将同意<span
                            th:text="${securityClientModel.clientName}"></span>访问受保护的资源
                    </div>
                    <div class="ui-from-item">授权范围：<span
                            th:text="${securityClientModel.scope}"></span>
                    </div>
                    <div class="ui-from-item">
                        <input type="radio" name="confirm_type" value="approve" checked="checked"/><span
                            class="ui-radio-text">同意</span>
                        <input type="radio" name="confirm_type" value="deny"/><span class="ui-radio-text">拒绝</span>
                    </div>
                    <div class="ui-from-item"><input type="submit" class="ui-input ui-btn" value="确定"/></div>
                </div>
            </div>
        </div>
    </form>
</div>
</html>